package com.example.shop.commodity.entity;

import com.example.shop.base.BaseEntity;

import java.io.Serializable;

import java.util.Date;

/**
 *  @author   hcj
 *  @date 2021-09-21 19:06:31
*/
public class ShopCart extends BaseEntity implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
      * 商品id
    */
    private String cid;
    /**
      * 商品名称
    */
    private String name;
    /**
      * 商品数量
    */
    private Integer number;
    /**
      * 分类状态
    */
    private String status;
    /**
      * 用户id
    */
    private String uid;

    private ShopCommodity commodity;

    public ShopCommodity getCommodity() {
        return commodity;
    }

    public void setCommodity(ShopCommodity commodity) {
        this.commodity = commodity;
    }

    public void setCid(String cid){
        this.cid = cid;
    }

    public String getCid(){
        return this.cid;
    }
    public void setName(String name){
        this.name = name;
    }

    public String getName(){
        return this.name;
    }
    public void setNumber(Integer number){
        this.number = number;
    }

    public Integer getNumber(){
        return this.number;
    }
    public void setStatus(String status){
        this.status = status;
    }

    public String getStatus(){
        return this.status;
    }
    public void setUid(String uid){
        this.uid = uid;
    }

    public String getUid(){
        return this.uid;
    }
}